package com.sdk4.jinritemai.model.request.warehouse;

import com.sdk4.jinritemai.DoudianRequest;
import com.sdk4.jinritemai.model.request.warehouse.response.AddrListBean;
import com.sdk4.jinritemai.model.request.warehouse.response.DoudianWarehouseSetPriorityResponse;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

@NoArgsConstructor
@Data
public class DoudianWarehouseSetPriorityRequest implements DoudianRequest<DoudianWarehouseSetPriorityResponse> {
    private AddrListBean addr;

    private Map<String, Integer> priorities;

    @Override
    public String getMethod() {
        return "warehouse.setPriority";
    }

    @Override
    public Class<DoudianWarehouseSetPriorityResponse> getResponseClass() {
        return DoudianWarehouseSetPriorityResponse.class;
    }
}
